package com.ms.p2p.provider.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.ms.p2p.provider.SBankProvider;
import com.ms.p2p.service.impl.SBankServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
import java.util.Map;

/**
 * Created by daimajia on 2015/4/19 添加dubbo接口.
 */
@Service
public class SBankProvierImpl implements SBankProvider {
    @Autowired
    SBankServiceImpl sBankService;

    public List<Map<String, Object>> findAll() {
        return sBankService.findAll();
    }
}
